<template>
  <div class="swiperbox2">
       <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/7.png" alt=""
      /></van-swipe-item>
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/8.jpg" alt=""
      /></van-swipe-item>
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/10.jpg" alt=""
      /></van-swipe-item>
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/11.jpg" alt=""
      /></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
name:"NewHead"
}
</script>

<style scoped>
.swiperbox2 {
  height: .95rem;
  overflow: hidden;
  margin: 0 .15rem;
  border-radius: 0.1rem;
}
.van-swipe__track {
  display: flex;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
 height: .95rem;
  text-align: center;
  width: 100%;
  background-color: #39a9ed;
}
/* .van-swipe-item {
  height: 2.29rem;
  border: 0.1rem;

  overflow: hidden;
} */
.van-swipe-item > img {
  width: 100%;
  height: 100%;
}

</style>